export const exportColumn = [
    {
        title: '学校代码',
        key: 'code',
        minWidth: 120
    },
    {
        title: '院校名称',
        key: 'name'
    },
    {
        title: '院校所在地',
        key: 'location'
    },
    {
        title: '院校性质',
        key: 'nature'
    },
    {
        title: '隶属单位',
        key: 'affiliatedUnit'
    },
    {
        title: '办学类型',
        key: 'type',
        minWidth: 120,
        sortable: false
    },
    {
        title: '办学层次',
        key: 'level',
        minWidth: 120,
        sortable: false
    },
    {
        title: 'is211',
        key: 'isProject211',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.isProject211;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: 'is985',
        key: 'isProject985',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.isProject985;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '一流大学',
        key: 'firstClassUni',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.firstClassUni;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '一流学科',
        key: 'firstClassDiscipline',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.firstClassDiscipline;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '独立学院',
        key: 'independentCollege',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.independentCollege;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '新增本科',
        key: 'newAddedUndergraduate',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.newAddedUndergraduate;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '示范高职',
        key: 'demonstrationVoc',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.demonstrationVoc;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '骨干高职',
        key: 'backboneVoc',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.backboneVoc;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '科研机构',
        key: 'researchInstitution',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.researchInstitution;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '民办院校',
        key: 'privateInstitution',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.privateInstitution;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '高水平学校',
        key: 'highLvSchool',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.highLvSchool;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '高水平专业院校',
        key: 'highLvProCollege',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.highLvProCollege;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '培养专科',
        key: 'vocationalEdu',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.vocationalEdu;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '培养本科',
        key: 'undergraduateEdu',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.undergraduateEdu;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '培养硕士',
        key: 'graduateEdu',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.graduateEdu;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    },
    {
        title: '培养博士',
        key: 'doctorEdu',
        minWidth: 120,
        sortable: false,
        render: (h, { row }) => {
            const value = row.doctorEdu;
            let text = '';
            if (value === '1' || value === 'true') {
                text = '是';
            } else if (value === '0' || value === 'false') {
                text = '否';
            }
            return h('span', null, text);
        }
    }
];
